package com.haixiaoke.saas.repository.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.haixiaoke.saas.repository.core.BaseEntity;
import lombok.Data;

import java.util.Date;

/**
 * 公寓推荐设置对象 base_house_recommendation
 * 
 * @author haixiaoke
 * @date 2023-04-11
 */
@Data
public class HouseRecommendation extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Long recommendationId;

    /** 房屋配置id */
    private Long allocationId;

    /** 房屋id */
    private String houseId;

    /** 排序 */
    private Long sort;

    /** 是否推荐(0:推荐;1:不推荐) */
    private Integer recommendationState;

    /** 推荐开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date recommendationStartTime;

    /** 推荐结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private Date recommendationEndTime;


}